.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

#main {
  width: 100%;

  .main_container {
    width: 998px;
    margin: 0 auto;

    .side_nav {
      float: left;
      width: 240px;
      height: 819px;
      position: relative;

      padding-top: 30px;
      z-index: 10;
      padding: 0 0 0 8px;
      margin-top: 0;
      background: url(../images/sidenav-left-shadow.gif) left top repeat-y;
      overflow: hidden;

      .box-content {
        height: 819px;
        padding: 0 10px 0 0;
        background: url(../images/index-nav-gap.gif) right top no-repeat;
        background-color: #fff;

        .sidenav-content {
          padding: 0 17px 0 20px;

          li {
            padding: 5px 0 7px 6px;
            border-bottom: 1px solid #d5ebfd;

            h2 {
              a {
                color: #4c85b2;
                text-decoration: none;
              }
            }

            p {
              a {
                display: inline-block;
                // float: left;
                padding: 0 0px 0 0;
                color: #666666;
                word-break: keep-all;
              }
            }
          }
        }
      }
    }

    .main_container_news {
      float: right;
      width: 750px;
      height: 819px;
      background: #fff url("../images/mian-news-right.gif") right top no-repeat;

      h2 {
        position: absolute;
        left: 0;
        top: 0;
        width: 120px;
        height: 32px;
        overflow: hidden;
        line-height: 32px;
        padding-left: 3px;
        border-bottom: 2px solid #2ba2e6;
        color: #2ba2e6;
        font-size: 14px;
      }

      .imgPlayer {
        width: 728px;
        height: 266px;
        padding: 10px 6px 6px 6px;
        background: url("../images/index-imgplayer-top.gif") left top no-repeat;
        background-color: rgba(0, 0, 0, 0);
        background-color: #fff;
        overflow: hidden;

      }

      .img_block_plate {
        width: 740px;
        height: 132px;
        padding-top: 7px;
        padding-left: 3px;
        background: url("../images/img-block-top.gif") left top no-repeat;

        .img-block1 {
          width: 239px;
          padding-right: 7px;
          background: url("../images/img-tuan-right.gif") right top no-repeat;
        }

        .img-block {
          float: left;
          position: relative;
          height: 132px;
          background-color: #fff;
          zoom: 1;
        }

        img {
          width: 240px;
          height: 131px;
        }

        i {
          display: block;
          position: absolute;
          right: 7px;
          bottom: 0px;
          width: 82px;
          height: 65px;
          z-index: 50;
        }

        .img_tuan {
          background: url("../images/tuan-block.png") no-repeat;
        }

        .img-notice {
          background: url("../images/block-notice.png") no-repeat;
        }

        .img-flashsale {
          background: url("../images/block-flashsale.png") no-repeat;
        }
      }

      .flashsale {
        width: 740px;
        height: 373px;
        _height: 369px;
        padding-top: 10px;
        background: url("../images/flashsale-top.jpg") left top no-repeat;
        background-color: rgba(0, 0, 0, 0);
        background-color: #fff;

        .plate_title {
          position: relative;
          height: 32px;
          border-bottom: 2px solid #e6e7e8;
          margin-bottom: 5px;
          margin-left: 2px;

          .flashsale_remain_time {
            position: absolute;
            left: 502px;
            top: 0;
            height: 32px;
            width: 157px;

            .title {
              position: absolute;
              left: -5px;
              top: 11px;
              color: #888;
            }

            p {
              position: absolute;
              left: 50px;
              top: 6px;
              height: 26px;
              line-height: 26px;
              color: #cc3300;
              font-size: 20.38px;

              span {
                float: left;

                font-weight: bolder;
              }
            }
          }

          .flashsale-pagination {
            position: absolute;
            left: 657px;
            top: 11px;
            height: 16px;
            width: 76px;
            overflow: hidden;

            a {
              display: block;
              float: left;
              height: 16px;
              width: 14px;
              text-align: center;
              color: #888;
              cursor: pointer;
            }

            .active {
              color: #cc3300;
            }

            .next {
              width: 15px;
              background: url("../images/flashsale-pagination-next.gif") no-repeat;
            }

            .prev {
              width: 15px;
              background: url("../images/flashsale-pagination-prev.gif") no-repeat;
            }
          }
        }

        .boox_tips {
          width: 725px;
          height: 234px;
          overflow: hidden;

          .book-list {
            padding-left: 15px;
            width: 725px;
            height: 0px;
            overflow: hidden;

            li {
              float: left;
              width: 179px;
              // height: 0px;
              display: none;
              animation: all 0.5;

              .book-intro {
                display: block;
                height: 37px;
                line-height: 18px;
                width: 151px;
                margin: 5px auto 0 auto;
                overflow: hidden;
                text-align: center;
              }

              .price {
                color: #cc3300;
                font-family: "微软雅黑";
                font-weight: bold;
                font-size: 14px;
                text-align: center;
              }

              .small-cover {
                display: block;
                width: 156px;
                height: 156px;
                margin: 0 auto;
                margin-top: 0px;
                margin-top: 13px;
                text-align: center;

                img {
                  display: inline-block;
                  max-width: 100%;
                  max-height: 100%;
                  vertical-align: middle;
                }
              }
            }
          }
        }

        .flash-_ale_recommend_plate {
          margin-top: 13px;

          .plate-img1 {
            margin-left: 23px;
            margin-right: 11px;
          }

          .plate-img3 {
            margin-left: 11px;
          }

          a {
            display: inline-block;
            width: 218px;
            height: 89px;
            border: 1px solid #e4e4e4;

            img {
              display: block;
              width: 213px;
              height: 86px;
              margin: 1px auto;
            }
          }
        }
      }
    }
  }

  .main_top {
    margin: 0 auto;
    width: 998px;
    height: 526px;

    position: relative;
    padding-top: 24px;

    i {
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 24px;
      font-size: 0;
      content: " ";
      height: 24px;
      background: url("../images/mian-bottom.gif") no-repeat;
    }





    .mian_content {
      position: relative;
      zoom: 1;
      display: block;
      padding: 0 10px 0px 8px;
      background: url(../images/bg-box.png) left bottom repeat-y;
      overflow: hidden;

      .new_books,
      .presell {
        height: 526px;
      }

      h2 {
        position: absolute;
        left: 0;
        top: 0;
        width: 120px;
        height: 32px;
        overflow: hidden;
        line-height: 32px;
        padding-left: 3px;
        border-bottom: 2px solid #2ba2e6;
        color: #2ba2e6;
        font-size: 14px;
      }

      a {
        color: #666666;
      }

      .new_books {
        float: left;
        width: 730px;
        background: #ffffff;

        .plate-title {
          position: relative;
          height: 32px;
          border-bottom: 2px solid #e6e7e8;
          margin-left: 6px;
        }

        .authorList {
          li {
            float: left;
            position: relative;
            height: 200px;
            width: 340px;
            margin-left: 12px;
            _margin-left: 8px;
            margin-top: 12px;
            background: #f5f5f5;
            list-style: none;

            img {
              display: block;
              width: 126px;
              height: 126px;
            }

            .author-key-message {
              position: absolute;
              left: 158px;
              top: 20px;
              width: 170px;
              overflow: hidden;
              color: #666;
            }

            .author-detail-message {
              position: absolute;
              left: 158px;
              top: 46px;
              width: 170px;
              height: 89px;
              overflow: hidden;
              color: #888;
            }

            .author-related-works {
              position: absolute;
              left: 12px;
              top: 152px;
              width: 254px;
              height: 36px;
              padding-left: 60px;
              color: #666;
              overflow: hidden;
              line-height: 36px;
              vertical-align: top;

              span {
                display: block;
                position: absolute;
                left: 0;
                top: 0;
                height: 100%;
                line-height: 36px;

                a {
                  display: inline-block;
                  width: 60px;
                  height: 36px;
                  margin: 0 5px;
                  line-height: 36px;
                  text-decoration: none;
                  overflow: hidden;
                }
              }
            }
          }
        }

        .new_boxlist {
          padding-left: 12px;
          padding-top: 8px;

          li {
            color: #7a7a7a;
            float: left;
            width: 179px;
            height: 234px;

            .small-cover {
              display: block;
              width: 156px;
              height: 156px;
              margin: 0 auto;
              margin-top: 0px;
              margin-top: 13px;
              text-align: center;

              img {
                display: inline-block;
                max-width: 100%;
                max-height: 100%;
                vertical-align: middle;
              }
            }

            .book-intro {
              display: block;
              height: 37px;
              line-height: 18px;
              width: 151px;
              margin: 5px auto 0 auto;
              overflow: hidden;
              text-align: center;
            }

            .price {
              color: #cc3300;
              font-family: "微软雅黑";
              font-weight: bold;
              font-size: 14px;
              text-align: center;
            }
          }

        }

        .bargain-price-plate {
          width: 100%;
          margin-top: 28px;


          .bargain-price-plate-a {
            display: inline-block;
            width: 210px;
            height: 104px;


            img {
              width: 210px;
              height: 104px;
            }
          }
        }

      }

      .presell {
        position: relative;
        float: right;
        width: 246px;
        background: #ffffff;

        .plate-title {
          position: relative;
          height: 32px;
          border-bottom: 2px solid #e6e7e8;
        }

        .presell-plate {
          height: 476px;
          border-left: 1px solid #e4e4e4;
          padding-left: 7px;
          overflow: hidden;

          a {
            display: block;
            width: 237px;
          }
        }

        .hot-list,
        .hot-sort li {
          cursor: pointer;
        }

        .hot-sort {
          margin-top: 5px;
          padding-top: 2px;
          height: 25px;
          overflow: hidden;

          li {
            display: block;
            float: left;
            width: 37px;
            height: 25px;
            line-height: 21px;
            text-align: center;
            color: #0163af;
            cursor: pointer;
          }

          .active {
            color: #333333;
            background: url("../images/hot-active.gif") no-repeat;
          }
        }

        .hot-list {
          position: relative;
          padding-left: 4px;
          margin-top: 0;
          height: 340px;
          display: none;


          .active2 {
            width: 241px;
            height: 76px;
            margin-left: 0;
            margin-bottom: 4px;
            background: #f8f8f8;
            border-top: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
          }

          li {
            position: relative;
            height: 29px;
            margin-left: 12px;
            border-bottom: 1px solid #f4f4f4;
            cursor: pointer;

            .number {
              position: absolute;
              left: 0;
              top: 8px;
              _top: 7px;
              display: block;
              width: 13px;
              height: 13px;
              line-height: 13px;
              background: url("../images/number-bg.gif") 0 0 no-repeat;
              color: #565656;
              text-align: center;
            }

            .number2 {
              top: 5px;
              margin-left: 12px;
              background: url("../images/number-bg.gif") 0 -13px no-repeat;
              color: #d70000;
            }

            .infor {
              position: absolute;
              left: 20px;
              width: 187px;
              height: 28px;
              line-height: 28px;
              padding-left: 4px;
              overflow: hidden;
              color: #666666;
            }

            .price {
              position: absolute;
              left: 96px;
              top: 49px;
              color: #cc3300;
              font-weight: 600;
              font-family: "微软雅黑";
              display: none;
            }

            .small-img {
              position: absolute;
              left: 33px;
              top: 9px;
              width: 54px;
              height: 54px;
              text-align: center;
              border: 1px solid #d2d2d2;
              display: none;
            }

            .infor2 {
              position: absolute;
              left: 96px;
              top: 10px;
              height: 36px;
              line-height: 18px;
              width: 97px;
              border: none;
            }
          }
        }

        .hot-topic-plate {
          width: 238px;
          margin: 0 0 0 7px;

          li {
            float: left;
            width: 218px;
            height: 188px;
            padding: 9px;
            margin-top: 12px;
            background: #e2f1ee;

            img {
              width: 218px;
              height: 188px;
            }
          }
        }
      }
    }
  }
}